package com.fc.hkx.process;

import com.fc.hkx.process.migrate.MigrationProps;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Charles on 2017/7/21.
 */

@Configuration
public class ProcessConfiguration {
    @Autowired
    private MigrationProps migrationProps;

    @Bean(name = "dbMigration")
    public DbMigration dbMigration() {
        return new DbMigration(migrationProps);
    }
}
